home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01b.txt / 000169_icon-group-sender_Fri Nov 9 12:40:49 2001.msg < prev    next >
Internet Message Format  |  2002-01-03  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id fA9JeU208015
  4.     for icon-group-addresses; Fri, 9 Nov 2001 12:40:30 -0700 (MST)
  5. Message-Id: <200111091940.fA9JeU208015@baskerville.CS.Arizona.EDU>
  6. Date: Fri, 09 Nov 2001 10:39:28 -0500
  7. From: Mark Otto <Mark_Otto@FWS.Gov>
  8. X-Accept-Language: en
  9. To: icon-group@cs.arizona.edu
  10. Subject: Re: mutual evaluation
  11. X-MIMETrack: Itemize by SMTP Server on FW0HUB1/FWS/DOI(Release 5.0.8 |June 18, 2001) at
  12.  11/09/2001 08:42:15 AM,
  13.     Serialize by Router on FW0HUB1/FWS/DOI(Release 5.0.8 |June 18, 2001) at 11/09/2001
  14.  08:42:36 AM,
  15.     Serialize complete at 11/09/2001 08:42:36 AM
  16. Errors-To: icon-group-errors@cs.arizona.edu
  17. Status: RO
  18. Content-Length: 739
  19.  
  20. One part of Taybin's question I don't think was answered.  A result from
  21. #exp(exp,exp,...) is only returned if all expressions mutually evaluated
  22. succeed, so all expressions after the expression returned are evaluted. 
  23. Here is a short program where the first expression is returned and
  24. printed out, but the second mutual expression is also evaluated.
  25.  
  26. procedure main()
  27.  a:=1
  28.  b:=2
  29.  write( 1(a,b:=4) )
  30.  write(b)
  31. end
  32.  
  33.  
  34. The print out is:
  35. 1
  36. 4
  37.  
  38. not:
  39. 1
  40. 2
  41.  
  42.  
  43. Mark
  44.  
  45. -- 
  46. Mark Otto, Biological Statistician 
  47. Population and Habitat Assessment Section 
  48. Migratory Bird Management Division        e-mail: M a r k _ O t t o @ F
  49. W S . G o v
  50. U.S. Fish and Wildlife Service
  51. Department of the Interior
  52. 11500 American Holly Drive
  53. Laurel, Maryland  20708-4016
  54.